export const API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_GET = '/waterquality/admin/forms/template/config/get'
export const API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_DELETE = '/waterquality/admin/forms/template/config/delete'
export const API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_CREATE = '/waterquality/admin/forms/template/config/create'
export const API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_UPDATE = '/waterquality/admin/forms/template/config/update'
export const API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_LIST = '/waterquality/admin/forms/template/config/list'

import { request } from '@/utils/request';

export function getInfo(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_GET,
    data,
  });
}

export function doDelete(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_DELETE,
    data,
  });
}

export function doUpdate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_UPDATE,
    data,
  });
}

export function doCreate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_CREATE,
    data,
  });
}

export function getList(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_FORMS_TEMPLATE_CONFIG_LIST,
    data,
  });
}
